<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    
</head>

<body>
      <!-- 导演：<input type="text" v-model="dire" value="" /><br /><br />
      编剧：<input type="text" v-model="writter" value="" /><br /><br />
      演员：<input type="text" class="act" value="" /><br /><br />
      类型：<input type="text" v-model="type" value="" /><br /><br />
      地区：<input type="text" v-model="area" value="" /><br /><br />
      语言：<input type="text" v-model="lang" value="" /><br /><br />
      上映时间：<input type="text" v-model="date" value="" /><br /><br />
      标签：<input type="text" v-model="tag" value="" /><br /><br /> -->



      <!-- // let dire = ref("");
// let writter = ref("");
// let act = ref("");
// let type = ref("");
// let area = ref("");
// let lang = ref("");
// let date = ref("");
// let tag = ref(""); -->
   
    <script>
        let mname=document.querySelector('.mname').value;
        let score=document.querySelector('.score').value;
        let mpic=document.querySelector('.mpic').files[0];
        let time=document.querySelector('.time').value;
        let desc=document.querySelector('.desc').value;
        let dire=document.querySelector('.dire').value;
        let writter=document.querySelector('.writter').value;
        let act=document.querySelector('.act').value;
        let type=document.querySelector('.type').value;
        let area=document.querySelector('.area').value;
        let lang=document.querySelector('.lang').value;
        let date=document.querySelector('.date').value;
        let tag=document.querySelector('.tag').value;
        function submit(){
            event.preventDefault()
            axios.post('/add',)
        }

        var formData=new FormData();
        formData.append('file',)

    </script>

</body>

</html>